using Net35.Xrm.Sdk.Metadata;
using Net35.Xrm.Sdk.Metadata.Query;
using System;
using System.Runtime.Serialization;
namespace Net35.Xrm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed class RetrieveMetadataChangesResponse : OrganizationResponse
	{
		public EntityMetadataCollection EntityMetadata
		{
			get
			{
				if (base.Results.Contains("EntityMetadata"))
				{
					return (EntityMetadataCollection)base.Results["EntityMetadata"];
				}
				return null;
			}
		}
		public DeletedMetadataCollection DeletedMetadata
		{
			get
			{
				if (base.Results.Contains("DeletedMetadata"))
				{
					return (DeletedMetadataCollection)base.Results["DeletedMetadata"];
				}
				return null;
			}
		}
		public string ServerVersionStamp
		{
			get
			{
				if (base.Results.Contains("ServerVersionStamp"))
				{
					return (string)base.Results["ServerVersionStamp"];
				}
				return null;
			}
		}
	}
}
